package com.arvato.wxwork.service.other;



import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.arvato.minipro.bean.bean_dto.common.PageData;
import com.arvato.minipro.bean.bean_dto.common.Query;
import com.arvato.wxwork.bean.bean_do.other.WxworkOperateLogDo;
import com.arvato.wxwork.mapper.other.WxworkOperateLogMapper;


@Service
@Transactional
public class WxworkOperateLogService {
	
	@Autowired
	private WxworkOperateLogMapper wxworkOperateLogMapper;
	
	
	/**
	 * 批量查询推广信息
	 * @param query
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	public PageData listLogByQuery(Query query, Integer pageNum, Integer pageSize) {
		return null;
	}
	
	/**
	 * 新增一个活动推广
	 * @param promotionDo
	 * @return
	 */
	public int insert(WxworkOperateLogDo logDo) {
		return wxworkOperateLogMapper.insert(logDo);
	}
	
}
